<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<#if model??>
<mapper namespace="${model.daoPackageName}.${model.className}Dao">

    <sql id="${model.className}Columns">
    <#list model.columns as column>
    <#if !column_has_next>a.${column.columnName} as ${column.realName}<#else>a.${column.columnName} as ${column.realName},</#if>
    </#list>
    </sql>
    <sql id="${model.className}Where">
    </sql>


</mapper>
</#if>